This sample application shows how to implement a VERY simple HTTP server process in AppleScript. It can only listen to one connection at a time, but it DOES work. This script MUST be saved as an application with the "Keep Open" checkbox selected.